import request from '/@/utils/request'

// 文章栏目列表
export const cateLists = (params?: any) => request.get('/cms/cate/lists', params);

// 文章栏目列表
export const cateAll = (params?: any) => request.get('/cms/cate/all', params);

// 添加文章栏目
export const cateAdd = (params?: any) => request.post('/cms/cate/add', params);

// 编辑文章栏目
export const cateEdit = (params?: any) => request.post('/cms/cate/edit', params);

// 删除文章栏目
export const cateDelete = (params?: any) => request.delete('/cms/cate/delete', params);

// 文章栏目详情
export const cateDetail = (params?: any) => request.get('/cms/cate/detail', params);